package org.chenwang.projects.ehcacheaws;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jets3t.service.multithread.S3ServiceSimpleMulti;
import org.jets3t.service.security.AWSCredentials;

import net.sf.ehcache.CacheException;
import net.sf.ehcache.Ehcache;

public class AmazonS3BootstrapCacheLoaderImplRestSimpleMulti extends
		AmazonS3BootstrapCacheLoaderImplRestSimple {

	private static final Log log = LogFactory.getLog(AmazonS3BootstrapCacheLoaderImplRestSimple.class);
	
	protected S3ServiceSimpleMulti serviceMulti;
	
	protected int sizeOfThreadPool;
	
	public AmazonS3BootstrapCacheLoaderImplRestSimpleMulti(String bucketName,
			String pathName, String pathSeparator, AWSCredentials credentials,
			boolean asynchronous, int sizeOfThreadPool) {
		super(bucketName, pathName, pathSeparator, credentials, asynchronous);
		this.sizeOfThreadPool = sizeOfThreadPool;
		this.initService();
	}
	
	protected void initService() {
		this.serviceMulti = new S3ServiceSimpleMulti(this.service);
	}

	@Override
	protected Object doClone() throws CloneNotSupportedException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	protected void doLoad(Ehcache cache) throws CacheException {
		// TODO Auto-generated method stub

	}

}
